package com.vhans.db.model.vo.comment;

import com.vhans.core.web.model.vo.UserIntro;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 最新评论
 *
 * @author vhans
 **/
@Data
@ApiModel(description = "最新评论")
public class RecentCommentVO {

    /**
     * 评论id
     */
    @ApiModelProperty(value = "评论id")
    private Integer id;

    /**
     * 评论者简介
     */
    @ApiModelProperty(value = "评论者简介")
    private UserIntro userIntro;

    /**
     * 评论内容
     */
    @ApiModelProperty(value = "评论内容")
    private String content;

    /**
     * 点赞数
     */
    @ApiModelProperty(value = "点赞数")
    private Integer likeNumber;

    /**
     * 评论时间
     */
    @ApiModelProperty(value = "评论时间")
    private LocalDateTime createTime;
}
